import request from 'network/index'

//查看自己的动态
export function getMyDynamic(params) {
  return request({
    url: "/dynamic/myself",
    params
  })
}

//我的点赞  点赞过谁
export function getMypraise(params){
  return request({
    url:"/dynamic/collection/who",
    params
  })
}

//删除动态自己动态
export function deleteDynamic(data){
  return request({
    method:"delete",
    url:"/dynamic",
    data
  })
}